#pragma once
#include "Header.h"

class CHotFixHookX86
{
private:
    BOOL  m_bHook;
    ULONG_PTR m_TargetAddress;
    BYTE  m_OldOrder[2];

public:
    CHotFixHookX86();
    ~CHotFixHookX86();

public:
    BOOL Hook(LPSTR szModuleName, LPSTR szFunctionName, ULONG_PTR HookProc);
    void UnHook();
};

extern CHotFixHookX86 g_HotFixHook;
